// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name:   SysGroupRightData.java

package scsc.web.system.data;

import scsc.pub.tools.StringUtil;
import java.io.Serializable;
import scsc.pub.data.Operatorgroup;

public class SysOperatorGroupData
    extends Operatorgroup
    implements Serializable {

  private String groupCode;
  private String groupName;
  public static final String groupNameDB = "GROUPNAME";
  private String operatorID;
  private String operatorName;
  public static final String transNameDB = "TRANSNAME";

  public SysOperatorGroupData() {
    init();
  }

  public SysOperatorGroupData(String groupcode, String groupname,
                              String operatorID,
                              String operatorName) {
    setGroupCode(groupcode);
    setGroupName(groupname);
    setOperatorID(operatorID);
    setOperatorName(operatorName);
  }

  public String getGroupCode() {
    return groupCode;
  }

  public void setGroupCode(String groupCode) {
    this.groupCode = StringUtil.trim(groupCode);
  }

  public String getGroupName() {
    return groupName;
  }

  public void setGroupName(String groupName) {
    this.groupName = StringUtil.trim(groupName);
  }

  public String getOperatorID() {
    return operatorID;
  }

  public void setOperatorID(String operatorID) {
    this.operatorID = StringUtil.trim(operatorID);
  }

  public String getOperatorName() {
    return operatorName;
  }

  public void setOperatorName(String operatorName) {
    this.operatorName = StringUtil.trim(operatorName);
  }

  public void reset() {
    init();
  }

  public void init() {
    setGroupCode("");
    setGroupName("");
    setOperatorID("");
    setOperatorName("");
  }
}
